# $Id: PKGBUILD 183328 2013-04-21 22:08:25Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: pressh <pressh@gmail.com>

pkgname=alacarte
pkgver=3.7.90
pkgrel=1
pkgdesc="Menu editor for gnome"
arch=(any)
license=('LGPL')
url="http://www.gnome.org"
depends=('gnome-menus' 'hicolor-icon-theme' 'python2-gobject' 'gtk3')
makedepends=('intltool')
install=alacarte.install
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.7/${pkgname}-${pkgver}.tar.xz)
sha256sums=('379ae48422ff6bc7b9657d1f9968a83ee4eb8f8c69964dbb8ce2dac6e0b5ccf0')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
